Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: improve generated cpes for binaries with existing classifiers #3169

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

westonsteimel
Copy link
Contributor

The existing syft binary classifiers already specify any known CPEs for the defined binary; however, sometimes these end up getting suppressed (such as when there are ELF notes extracted) and the CPE generator ends up being used instead. This adds enough detail to at least ensure the correct ones get appended to the generation list for the currently covered classifiers.

@westonsteimel westonsteimel requested a review from a team August 28, 2024 14:41
@westonsteimel westonsteimel added the bug Something isn't working label Aug 28, 2024
The existing syft binary classifiers already specify any known CPEs for
the defined binary; however, sometimes these end up getting suppressed
(such as when there are ELF notes extracted) and the CPE generator ends
up being used instead.  This adds enough detail to at least ensure the
correct ones get appended to the generation list for the currently
covered classifiers.

Signed-off-by: Weston Steimel <commits@weston.slmail.me>
@westonsteimel westonsteimel force-pushed the binary-cpe-generation-improvements branch from 417b736 to ad1130f Compare August 28, 2024 14:53
@westonsteimel westonsteimel merged commit 2c25f81 into main Aug 28, 2024
11 checks passed
@westonsteimel westonsteimel deleted the binary-cpe-generation-improvements branch August 28, 2024 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants